home *** CD-ROM | disk | FTP | other *** search
/ The Best Shareware of the Year 1997 Winter / The Best Shareware of the Year 1997 Winter.iso / iexplore.nt / 1.5 / mips / msie15.exe / setupie.bat < prev    next >
Encoding:
DOS Batch File  |  1996-02-15  |  869 b   |  40 lines

  1. @echo off
  2. set SRC=%tmp%\
  3. if NOT exist %SRC%install.exe goto TryTemp
  4. if NOT exist %SRC%internet.stf goto TryTemp
  5. if NOT exist %SRC%internet.inf goto TryTemp
  6. if NOT exist %SRC%basic.dll goto TryTemp
  7. if NOT exist %SRC%intersu.dll goto TryTemp
  8. if NOT exist %SRC%iexplore.exe goto TryTemp
  9. goto noargs
  10.  
  11. :TryTemp
  12. set SRC=%temp%\
  13. goto noargs
  14.  
  15. :TryCwd
  16. set SRC=%1%
  17. if NOT exist %SRC%install.exe goto Error
  18. if NOT exist %SRC%internet.stf goto Error
  19. if NOT exist %SRC%internet.inf goto Error
  20. if NOT exist %SRC%basic.dll goto Error
  21. if NOT exist %SRC%intersu.dll goto Error
  22. if NOT exist %SRC%iexplore.exe goto Error
  23. goto noargs
  24.  
  25. :Error
  26. echo .
  27. echo IExplore setup error:
  28. echo   You must specify the directory where installing from
  29. echo .
  30. echo   EXAMPLE:
  31. echo     %0 %SRC% (default)
  32. echo .
  33. pause
  34. goto end
  35.  
  36. :noargs
  37. %SRC%install.exe 
  38. :end
  39. set SRC=
  40.